package services;

import persistences.UserDAO;

public class User {
	private String userName;
	private String userPassword;
	private String userRole;
	

	public  User(String userName, String userPassword,String userRole){
		this.userName = userName;
		this.userPassword = userPassword;
		this.userRole = userRole;
	}
	
	public boolean findUser(){
		boolean result = false;
		
		result = new UserDAO().findUser(userName, userPassword,userRole);
				
		return result;
	}

	
	
}
